package com.active.dao;

import com.active.bean.ActiveWisdom;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ActiveWisdomMapper {

    ActiveWisdom selectByPrimaryKey(Integer id);

    List<ActiveWisdom> selectRandomRecord(Integer num);

    int deleteByPrimaryKey(Integer id);

    int insert(ActiveWisdom activeWisdom);

    int updateByPrimaryKey(ActiveWisdom activeWisdom);
}
